package com.ruoyi.myplayer.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.myplayer.domain.PlayerPlaylist;

/**
 * 歌单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-04-07
 */
public interface PlayerPlaylistMapper 
{
    /**
     * 查询歌单
     * 
     * @param id 歌单主键
     * @return 歌单
     */
    public PlayerPlaylist selectPlayerPlaylistById(Long id);

    /**
     * 查询歌单列表
     * 
     * @param playerPlaylist 歌单
     * @return 歌单集合
     */
    public List<PlayerPlaylist> selectPlayerPlaylistList(PlayerPlaylist playerPlaylist);

    /**
     * 新增歌单
     * 
     * @param playerPlaylist 歌单
     * @return 结果
     */
    public int insertPlayerPlaylist(PlayerPlaylist playerPlaylist);

    /**
     * 修改歌单
     * 
     * @param playerPlaylist 歌单
     * @return 结果
     */
    public int updatePlayerPlaylist(PlayerPlaylist playerPlaylist);

    /**
     * 删除歌单
     * 
     * @param id 歌单主键
     * @return 结果
     */
    public int deletePlayerPlaylistById(Long id);

    /**
     * 批量删除歌单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePlayerPlaylistByIds(Long[] ids);

    List<Map<String, Object>> getPickPlayLst();
}
